
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>我的收藏 -- 我的收藏</title>
    <link href="/style/fav.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
    a span{ display: none; width:400px;font-size: 10px;}
	a:hover span{text-decoration:none;display:block;position:absolute;border:1px solid #640000;background: #FFFFCC;margin-top:26px!important; margin-top:26px; margin-left:30px;color:#000;padding:5px;word-wrap: break-word; word-break: normal;}
    </style>
    <script type="text/javascript" charset="utf-8" language=javascript src="/js/default.js"></script>
    <script type="text/javascript" charset="utf-8" language=javascript src="/js/ajaxrequest.js"></script>
    <script type="text/javascript" charset="utf-8" language=javascript>
      function count_checked_items() {
	  var number_checked=0;
	  var box_count=document.ListForm.editIdList.length;
	  if ( box_count==null ) {
	  if ( document.ListForm.editIdList.checked==true ) {
	  number_checked=1;}else {
	  number_checked=0;}}
	  else {
	  for ( var i=0; i < (box_count); i++ ) {
	  if ( document.ListForm.editIdList[i].checked==true ) {
	  number_checked++;}}}return number_checked;}
	  
	  function add_to_edit() {
	      if (count_checked_items()>0){
	          document.ListForm.action="editmyfav.jsp";
	          document.ListForm.submit();         
	      }
	      else
	          alert('请先选择要修改的信息!');
	          return false;       
	      }
	
	      
	  function subsume_to() {
	      if (count_checked_items()>0){
	          if(confirm('您确认要移动这些网址吗?')){
	          document.ListForm.action="movemyfav.jsp";
	          document.ListForm.submit();
	          }
	      }
	      else
	          alert('请先选择要移动的信息!');
	          return false;       
	      }
		  
	  function del_to() {
	      if (count_checked_items()>0){ 
	          if(confirm("您确认要删除这些信息吗?")){ 
	          document.ListForm.action="delmyfav.do";
	          document.ListForm.submit();
	          }
	      }
	      else
	          alert('请先选择要删除的信息!');
	          return false;       
	      }
		  
	  function select_All(checked){
	          
	      for (var i=0;i<document.ListForm.elements.length;i++){
	      var e = document.ListForm.elements[i];
	      if (e.name != 'allbox')
	          e.checked = checked;        
	      }
	      document.getElementById("check_all").checked=checked;
	  }       
	  
	  function select_ok(){
	      if(document.getElementById("check_all").checked){
	          document.getElementById("selectall").innerHTML='取消';
	          select_All(true)}
	      else{
	          document.getElementById("selectall").innerHTML='全选';
	          select_All(false)
	          }
	  
	  }
	  
	  function select_change(){
	      if(document.getElementById("selectall").innerHTML=='全选'){            
	          document.getElementById("selectall").innerHTML='取消';
	          select_All(true);           
	          }
	      else{
	          document.getElementById("selectall").innerHTML='全选';
	          select_All(false);          
	          }       
	  }
	  
	    function select_changes(){
	      if(document.getElementById("selectall").innerHTML=='全选'){            
	          document.getElementById("selectall").innerHTML='取消';
	          select_All(true);           
	          }
	      else{
	          document.getElementById("selectall").innerHTML='全选';
	          select_All(false);          
	          }       
	  }
    </script>
    <script type="text/javascript" charset="utf-8" language=javascript>
    function countto(url1,url2)
    {
        var ajax=new AJAXRequest;
        ajax.get(url1);
        ajax.get(url2); 
    }
	</script>
</head>
<body style="margin-left:0px;margin-top:0px">
<div id="mytagzhai" class="mytagzhai">
    <form name="ListForm" method="post">
        <div style="width:100%; height:25px;text-align:left">
            <div id="rightmenu">
                <ul>
                    <li><img src="/images/myzhai/mytag.gif" style="margin-bottom:-5px" /><span id="forMytagname">我的收藏 (收藏数: 0)</span></li>
                    <li class="menuDiv"></li>
                    <li><img src="/images/myzhai/selall.gif" style="margin-bottom:-5px" /><a href="#" id="selectall" OnClick="javascript:select_changes();">全选</a></li>
                    <li class="menuDiv"></li>
                    <li><img src="/images/myzhai/delzhai.gif" style="margin-bottom:-5px" /><a href="#" OnClick="javascript:del_to();">删除</a></li>
                    <li class="menuDiv"></li>
                    <li><img src="/images/myzhai/editzhai.gif" style="margin-bottom:-5px" /><a href="#" OnClick="javascript:add_to_edit();">修改</a></li>
                    <li class="menuDiv"></li>
                    <li><img src="/images/myzhai/movezhai.gif" style="margin-bottom:-5px" /><a href="#" OnClick="javascript:alert('进入具体标签才使用该功能！');">移动</a></li>
                    <li class="menuDiv"></li>
                    <li><img src="/images/myzhai/addzhai.gif" style="margin-bottom:-5px" /><a href="/savepage" target=_blank>添加</a></li>
                </ul>
            </div>
        </div>
    	<div id="page">
			
		</div>
    </form>
</div>
<div style="display:none">
</div>
</body>
</html>